package arsw.twitter.controller;

public class Pair<A, B> {
	private A first;
	private B second;
	/**
	 * @param first
	 * @param second
	 */
	private Pair(A first, B second) {
		this.first = first;
		this.second = second;
	}
	
	static public <A,B> Pair<A, B> newInstance(A first, B second) {
		return new Pair<A, B>(first, second);
	}
	/**
	 * @return the first
	 */
	public A getFirst() {
		return first;
	}
	/**
	 * @return the second
	 */
	public B getSecond() {
		return second;
	}
	
	
}
